import type { App } from "vue";
import { ControlType, registerControlProvider } from "@ibiz-template/runtime";
import IBizPanelControl from "./i-biz-panel-control.vue";
import { PanelProvider } from "./i-biz-panel-control.provider";

export const IBizPanel = {
  install(v: App) {
    v.component("IBizPanelControl", IBizPanelControl);
    registerControlProvider(ControlType.PANEL, () => new PanelProvider());
  },
};
